<div id="tabs-1" class="tabs-pane">
<?php foreach($data as $item) {
        $url = url('node/'.$item->nid);
        $image_path = imagecache_create_url('picture_wall_item', $item->field_image[0]['filepath']);
    ?>
            <div class="itemNews item">
                <a><img alt="<?php print $item->title; ?>" style="background:url('<?php print $image_path; ?>');" src="<?php print base_path(); ?>sites/default/files/pic-wall-corner.png" /></a>
                <div class="caption">
                    <a href="<?php print $url; ?>"><?php print $item->title; ?></a>
                    <p><?php print substr(_filter_html($item->body, NULL), 0, 60); ?> ... </p>
                </div>
            </div>
<?php } ?>
</div>
<script>
    $(function() {
        $( "#tabs" ).tabs( { fx: { opacity: 'toggle', duration: 2000 }} );
    });

    $(document).ready(function() {
        //move the image in pixel
        var move = -15;
        //zoom percentage, 1.2 =120%
        var zoom = 1.2;
        var items = ['.itemConsultant','.itemCase',' .itemNews','.itemBBS'];
        //On mouse over those thumbnail
        for(var i=0; i<4; i++){
            $(items[i]).hover(function() {
                //Set the width and height according to the zoom percentage
                width = $(items[i]).width() * zoom;
                height = $(items[i]).height() * zoom;
                //Move and zoom the image
                //$(this).find('img').stop(false,true).animate({'width':width, 'height':height, 'top':move, 'left':move}, {duration:200});
                //Display the caption
                $(this).find('div.caption').stop(false,true).fadeIn(200);
            },
            function() {
                //Reset the image
                //$(this).find('img').stop(false,true).animate({'width':$(items[i]).width(), 'height':$(items[i]).height(), 'top':'0', 'left':'0'}, {duration:100});
                //Hide the caption
                $(this).find('div.caption').stop(false,true).fadeOut(200);
            });
        }
    });

</script>